package lib.Base;

import java.io.Serializable;

public class Workplace implements Serializable {
	/**
	 * Part of the Info object which holds career data
	 */
	private static final long serialVersionUID = 1L;

	private int Id;
	private String Name;
	private String Profession;
	private int Begin;
	private int End;

	public Workplace(int Id) {
		this.Id = Id;
	}

	public int getId() {
		return Id;
	}

	public void setName(String Name) {
		this.Name = Name;
	}

	public String getName() {
		return Name;
	}

	public void setProfession(String Profession) {
		this.Profession = Profession;
	}

	public String getProfession() {
		return Profession;
	}

	public void setBegin(int Begin) {
		this.Begin = Begin;
	}

	public int getBegin() {
		return Begin;
	}

	public void setEnd(int End) {
		this.End = End;
	}

	public int getEnd() {
		return End;
	}
}